<template>
  <div class="content-child">
    <div class="content-child-main">
      <div class="child-main-left">
        <notify-type />
      </div>
      <div class="child-main-right">
        <notify-info />
      </div>
    </div>
  </div>
</template>

<script>
  import { defineComponent, reactive, toRefs, onMounted } from 'vue';
  import NotifyType from '@/views/board-home/components/notify-type.vue';
  import NotifyInfo from '@/views/board-home/components/notify-info.vue';
  import { HOME_FLOW_CHECK, HOME_FLOW_START } from '@/helper/constant';
  export default defineComponent({
    name: 'NotifyMain',
    components: { NotifyType, NotifyInfo },
    setup() {
      const state = reactive({
        curFlowType: HOME_FLOW_CHECK,
        flowCheck: HOME_FLOW_CHECK,
        flowStart: HOME_FLOW_START,
      });
      const methods = {
        watchFlowType(type) {
          state.curFlowType = type;
        },
      };
      onMounted(() => {});
      return {
        ...toRefs(state),
        ...methods,
      };
    },
  });
</script>
<style scoped lang="less">
  .content-child {
    width: 100%;
    box-sizing: border-box;
    background-color: #ffffff;
    .content-child-main {
      width: 100%;
      box-sizing: border-box;
      display: flex;
      .child-main-left {
        width: 210px;
      }
      .child-main-right {
        width: 670px;
      }
    }
  }
</style>
